<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>文档管理</title>
<link href="/css/gzs.admin.css" rel="stylesheet" type="text/css" >
<script src="js/ieemu.js"></script>
<script src="js/context_menu.js"></script>
<script src="js/main.js"></script>
<script src="js/list.js"></script>
<script src="/system/gzs.ajax.js"></script>
<style type="text/css">
.w160 a{color:#3478bc;cursor:pointer;line-height:20px;display: inline-block;padding: 1px 5px;}
.w160 a:hover{color:#039;text-decoration:underline;}
.w160 i{vertical-align: middle;display: inline-block;height: 10px;width: 1px;background: #ccc;}
td{line-height:36px;}
.yxw-wzfb2{float:right;}
.blue2:hover{background:#ff700a;}
.coolbg{border-radius:3px;color:#fff;padding:2px 10px;display:inline-block;line-height:20px;}
.coolbg:hover{background:#ff700a;color:#fff;}
.wz-lj{color:#333;}
.wz-lj:hover{color:#3478bc;text-decoration:underline;}
span.text-danger{color:#f30;}

/*其他样式*/
#edit{color:#fff;background-color:#03a193;font-size:14px;padding:3px 10px;border-radius:3px;text-decoration:none !important;}
#preview{color:#fff;background-color:#3f8bb4;font-size:14px;padding:3px 10px;border-radius:3px;text-decoration:none !important;}
#edit:hover{background-color:#05c3b2;}
#preview:hover{background-color:#58acda;}
</style>
<script type="text/javascript">
function checkSubmit()
 {
if(document.form3.wzss.value=='')
{
document.form3.wzss.focus();
alert("请输入关键词");
return false;}
}
</script>
</head>
<body leftmargin="8" topmargin="8" background='images/allbg.gif' onLoad="ContextMenu.intializeContextMenu()">
<div class="yxw-wzfb" style="width:98%;margin:auto;overflow:hidden;padding:20px 0;">
<form name='form3' action='content_list.php' method='get' onSubmit="return checkSubmit();">
<input type='hidden' name='dopost' value='listArchives' />
<?php
if ($channelid == 17) { //这里写内容模型ID，写进去的模型为隐藏//
?>
<input type='button' onClick="location='catalog_do.php?channelid={dede:global.channelid/}&cid={dede:global.cid/}&dopost=addArchives';" class="blue2" value='发布章节' style="float:left;line-height:40px;padding:0 20px;border:none;border-radius:3px;" />
<?php
} 
?>
<?php
if ($channelid == 1) { //这里写内容模型ID，写进去的模型为隐藏//
?>
<input type='button' onClick="location='catalog_do.php?channelid={dede:global.channelid/}&cid={dede:global.cid/}&dopost=addArchives';" class="blue2" value='发布文章' style="float:left;line-height:40px;padding:0 20px;border:none;border-radius:3px;" />
<?php
} 
?>
<div class="yxw-wzfb2">
<input type='text' name='keyword' value='{dede:global.keyword/}' autocomplete="off" id="wzss" placeholder="文章标题搜索..." style="width:150px;line-height:38px;height:38px;float:left;padding:0 10px;border-radius:3px;margin-right:5px;"/>
<input name="imageField" type="submit" value="搜索" class="blue2" style="width:50px;line-height:40px;height:40px;float:left;padding:0 10px;border-radius:3px;border:none;"/>
</div>
</form>
</div>
<!--  内容列表 -->
<form name="form2">
<table width="98%" border="0" cellpadding="2" cellspacing="1" bgcolor="#CFCFCF" align="center" style="margin-top:8px">
<tr bgcolor="#E7E7E7" >
<td height="28" colspan="10" style="padding-left:10px;">
当前位置：<b style="color:#000;">{dede:global.positionname/}</b>
</td>
</tr>
<tr align="center" bgcolor="#FBFCE2" height="25">
<td width="6%">ID</td>
<td width="4%">选择</td>
<?php
if ($channelid == 17) { //这里写内容模型ID，写进去的模型为隐藏//
?>
<td width="45%" align='left' style="padding-left:10px;">章节标题</td>
<?php
} 
?>
<?php
if ($channelid == 1) { //这里写内容模型ID，写进去的模型为隐藏//
?>
<td width="45%" align='left' style="padding-left:10px;">文章标题</td>
<?php
} 
?>
<td width="10%">更新时间</td>
<td width="10%" style="display:none;">类目</td>
<td width="8%">浏览数</td>
<td width="6%" style="display:none;">HTML</td>
<td width="8%">权限</td>
<td width="8%">发布人</td>
<td width="10%">操作</td>
</tr>
{dede:datalist}
<tr align='center' bgcolor="#FFFFFF" height="26" align="center" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#FFFFFF';">
<td nowrap>
{dede:field.id/}
</td>
<td>
<input name="arcID" type="checkbox" id="arcID" value="{dede:field.id/}" class="np" />
</td>
<td align='left' style="padding-left:10px;"><span id="arc{dede:field.id/}"><a href='archives_do.php?aid={dede:field.id/}&dopost=editArchives' class="wz-lj">{dede:field.title/}</a></span>
{dede:field.flag function='IsCommendArchives(@me)'/}
</td>
<td>{dede:field.senddate function='GetDateMk(@me)'/}</td>
<td style="display:none;"><a href='content_list.php?cid={dede:field.typeid/}'>{dede:field.typeid function='GetTypename(@me)'/}</a></td>
<td>{dede:field.click/}</td>
<td style="display:none;">{dede:field.ismake function="IsHtmlArchives(@me)"/}</td>
<td>{dede:field.arcrank function="GetRankName(@me)"/}</td>
<td>{dede:field.mid function=GetMemberName(@me)/}</td>
<td>
<div class="w160">
<a onClick="editArc({dede:field.id/});" class="btn blue" id="edit">编辑</a>
<a onClick="viewArc({dede:field.id/});" target="_blank" class="btn blue" id="preview">浏览</a>
</div>
</td>
</tr>
{/dede:datalist}
<tr bgcolor="#ffffff">
<td height="36" colspan="10">
	&nbsp;
<a href="javascript:selAll()" class="coolbg">全选</a>
<a href="javascript:noSelAll()" class="coolbg">取消</a>
<a href="javascript:checkArc(0)" class="coolbg" style="display:none;">&nbsp;审核&nbsp;</a>
<a href="javascript:;" onClick="moveArc(event,this,<?php echo (empty($channelid) ? 0 : $channelid); ?>)" class="coolbg" style="display:none;">&nbsp;移动&nbsp;</a>
<a href="javascript:delArc(0)" class="coolbg">&nbsp;删除&nbsp;</a>
</td>
</tr>
</form>
<tr align="right" bgcolor="#ffffff">
<td height="36" colspan="10" align="center">
<div class="pagelistbox" style="background:#fff;">
{dede:pagelist listsize='5' /}
</div>
</td>
</tr>
</table>
</body>
</html>